package Views;

import Views.Base.BaseViewDisplayCreateUser;
import UCM.UCDisplayCreateUser;

/**
 * Creats the view to display the user
 * @author Joshua
 */
public class ViewDisplayCreateUser extends BaseViewDisplayCreateUser {

    private final UCDisplayCreateUser UCDisplayCreateUser = new UCDisplayCreateUser(this);
    
    
    

    /**
     * Construction that initualises the view
     */
    public ViewDisplayCreateUser() {
        registerButton.addActionListener(new AdapterUCCToAL(UCDisplayCreateUser));
        
    }


    /**
     * Sets the create user panel visible
     */
    public void setCreateUserVisible() {
        ViewMain.getInstance().updateCreateUser();        
    }
}
